<html>
<head><meta charset="utf-8"><title>webrender-and-piston-image fail to build with NLL · t-compiler/wg-nll · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/index.html">t-compiler/wg-nll</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html">webrender-and-piston-image fail to build with NLL</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="127607939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127607939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127607939">(Jun 05 2018 at 16:03)</a>:</h4>
<p>According to <span class="user-mention" data-user-id="116122">@Mark Simulacrum</span> on IRC, piston-image and webrender both fail to build with NLL enabled (at least, the versions in rustc-perf). Seems <span class="user-mention" data-user-id="116083">@pnkfelix</span> like something we could investigate.</p>



<a name="127608014"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127608014" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127608014">(Jun 05 2018 at 16:05)</a>:</h4>
<p><code>error[E0502]: cannot borrow </code>_<code> as mutable because it is also borrowed as immutable</code> is the error I believe</p>



<a name="127610157"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127610157" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127610157">(Jun 05 2018 at 16:50)</a>:</h4>
<p>filed an issue <a href="https://github.com/rust-lang/rust/issues/51372" target="_blank" title="https://github.com/rust-lang/rust/issues/51372">https://github.com/rust-lang/rust/issues/51372</a></p>



<a name="127610250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127610250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127610250">(Jun 05 2018 at 16:53)</a>:</h4>
<p>oh, thanks!</p>



<a name="127617269"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127617269" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127617269">(Jun 05 2018 at 19:20)</a>:</h4>
<p>i wonder if this is due to the new match guard semantics that NLL has</p>



<a name="127617334"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127617334" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127617334">(Jun 05 2018 at 19:20)</a>:</h4>
<p>but no, it not pointing at the ident that is used in the match arm guard</p>



<a name="127617354"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127617354" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127617354">(Jun 05 2018 at 19:21)</a>:</h4>
<p>(it may well be a legit bugfix tho)</p>



<a name="127617408"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image%20fail%20to%20build%20with%20NLL/near/127617408" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/webrender-and-piston-image.20fail.20to.20build.20with.20NLL.html#127617408">(Jun 05 2018 at 19:22)</a>:</h4>
<p>maybe. i don't see any smoking guns on the <code>Some(&amp;mut HitTestingRun(ref mut items,   prev_clip_and_scroll))</code> one</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>